package cn.kgc.bilibili.util;

import java.util.Date;

public class CheckNowDate {



    public static Integer howLongFromCreateDate(String olddate,String nowdate){
        Integer oldtime = Integer.parseInt(olddate.split(" ")[0].replace("-",""));
        Integer nowtime = Integer.parseInt(nowdate.split(" ")[0].replace("-",""));
        return nowtime-oldtime;
    }
}
